﻿using System.ComponentModel.DataAnnotations;
using Best.SmartCms.Dto.Enums;

namespace Best.SmartCms.Dto.File
{
    /// <summary>
    /// 导出文件
    /// </summary>
    public class ExportFileDto
    {
        /// <summary>
        /// 类型
        /// </summary>
        [Required(ErrorMessage = "导出数据类型不能为空")]
        public ExportFileType Type { get; set; }
        /// <summary>
        /// json 字符串
        /// </summary>
        [Required(ErrorMessage = "查询条件不能为空")]
        public string Condition { get; set; }
    }



}
